Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMGetFrameSize

Gets the coordinates of the frame.

OSStatus JMGetFrameSize (
                     JMFrameRef frame, 
                     Rect* result);
frame
The frame whose dimensions you want to determine.
result
A pointer to the frame coordinates. Upon return, this parameter holds the coordinates of the frame in pixels.
function result
A result code; see "JManager Result Codes".
DISCUSSION
Frames are described using a zero-based coordinate system with the top-left corner of the frame having the coordinates (0,0).

SEE ALSO
The JMSetFrameSize function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997